the text for the run
the number of bytes (not characters) in @text.
the analysis information return from [func@itemize]
the byte index within @text
whether we should compute the result for the beginning (%FALSE) or end (%TRUE) of the character.
location to store result
Converts from character position to x position.
The X position is measured from the left edge of the run. Character positions are obtained using font metrics for ligatures where available, and computed by dividing up each cluster into equal portions, otherwise.
<picture> <source srcset="glyphstring-positions-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Glyph positions" src="glyphstring-positions-light.png"> </picture>